package com.openvas.core.gas.constant;

public enum Resistance {
	//旧版电阻对应关系值（天津）
//	R1("0000", 2000.0),R2("0001", 507.5),R3("0010", 139.5),R4("0011", 115.8),
//	R5("0100", 32.46),R6("0101", 30.98),R7("0110", 26.69),R8("0111", 25.68),
//	R9("1000", 6.18),R10("1001", 6.12),R11("1010", 5.94),R12("1011", 5.89),
//	R13("1100",5.21),R14("1101",5.17),R15("1110", 5.04),R16("1111", 5.0),
//	; 
	//新版电阻对应关系值
	R1("0000", 10000.0),R2("0001", 1666.67),R3("0010", 291.26),R4("0011", 254.24),
	R5("0100", 46.78),R6("0101", 45.71),R7("0110", 40.47),R8("0111", 9.67),
	R9("1000", 6.8),R10("1001", 6.78),R11("1010", 6.65),R12("1011", 6.63),
	R13("1100",5.94),R14("1101",5.92),R15("1110", 5.82),R16("1111", 5.8),
	; 
	
	public static void main(String[] args) {
	}
	
	  private String code;  
	  private Double resistance; 
	  
	  private Resistance(String code, Double resistance) {  
	        this.code = code;  
	        this.resistance = resistance;  
	    }
	  
	  
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public Double getResistance() {
		return resistance;
	}
	public void setResistance(Double resistance) {
		this.resistance = resistance;
	}  
}
